<{include file="admin/head.html"}>
<link rel="stylesheet" href="<{$smarty.const.__URL__}>plugins/tablecloth/tablecloth.css">
<body>
	<{include file="admin/nav.html"}>
	<div id="content">
		<div id="sidebar">
			<ul>
				<li><a href="index.php">后台首页</a></li>
				<li><a href="index.php?do=addIndexList">添加首页显示产品</a></li>
				<li><a href="index.php?do=indexList">首页产品列表</a></li>
				<li><a href="index.php?do=feature">首页精选产品</a></li>
			</ul>
		</div>
		<div id="main">
			<h2 id="page_title"><{$pageTitle}></h2>
				<{if $list}>
				<table>
					<tr>
						<th>标题</th>
						<th>顺序</th>
						<th>内容</th>
						<th>操作</th>
					</tr>
					<{foreach from=$list item=l}>
					<tr>
						<td><{$l.title}></td>
						<td><{$l.order}></td>
						<td style="width:60%;">
							<div class="article_ct"><{$l.content}></div>
						</td>
						
						<td>
							<a href="<{$l.link}>" target="_blank">查看</a>
							<a href="index.php?do=editIndexList&id=<{$l.id}>">修改</a>
							<a href="javascript:;" class="ln_del" data="{'url':'index.php?do=delIndexList&id=<{$l.id}>','to':'index.php?do=indexList'}">删除</a>							
						</td>
					</tr>
					<{/foreach}>
				</table>
				<{else}>
					<div class="no_data">暂无数据</div>
				<{/if}>
		</div>
	</div>
	<script type="text/javascript" src="<{$smarty.const.__URL__}>plugins/tablecloth/tablecloth.js"></script>
</body>
</html>